Eclipse Platform
Pre-release 3.0

org.eclipse.jface.text.formatter
Class FormattingContextProperties

java.lang.Object
  extended byorg.eclipse.jface.text.formatter.FormattingContextProperties

public class FormattingContextProperties
extends Object

Keys used by IFormattingContext objects to register specific properties needed during the formatting process of a content formatter implementing IContentFormatterExtension2.

Since:
3.0
See Also:
IFormattingContext, IFormattingStrategyExtension, IContentFormatterExtension2

Field Summary
static String CONTEXT_DOCUMENT
          Property key of the document property.
static String CONTEXT_INDENTATION
          Property key of the indentation property.
static String CONTEXT_PARTITION
          Property key of the partition property.
static String CONTEXT_POSITIONS
          Property key of the positions property.
static String CONTEXT_PREFERENCES
          Property key of the preferences property.
static String CONTEXT_REGION
          Property key of the region property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_INDENTATION

public static final String CONTEXT_INDENTATION
Property key of the indentation property. The property must implement java.lang#String.

Value: "formatting.context.indentation"

See Also:
Constant Field Values

CONTEXT_PARTITION

public static final String CONTEXT_PARTITION
Property key of the partition property. The property must implement org.eclipse.jface.text#TypedPosition.

Value: "formatting.context.partition"

See Also:
Constant Field Values

CONTEXT_POSITIONS

public static final String CONTEXT_POSITIONS
Property key of the positions property. The property must implement int[].

Value: "formatting.context.positions"

See Also:
Constant Field Values

CONTEXT_PREFERENCES

public static final String CONTEXT_PREFERENCES
Property key of the preferences property. The property must implement java.util#Map.

Value: "formatting.context.preferences"

See Also:
Constant Field Values

CONTEXT_DOCUMENT

public static final String CONTEXT_DOCUMENT
Property key of the document property. The property must implement java.lang#Boolean.

Value: "formatting.context.document"

See Also:
Constant Field Values

CONTEXT_REGION

public static final String CONTEXT_REGION
Property key of the region property. The property must implement org.eclipse.jface.text#IRegion.

Value: "formatting.context.region"

See Also:
Constant Field Values

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.